import fetch from 'utils/fetch'

export function getResource() {
  return fetch({
    url: '/index/resource/',
    method: 'get'
  })
}

export function getIndex() {
  return fetch({
    url: '/index/',
    method: 'get'
  })
}